#pragma once
#ifndef __MEMORYMENAGERGRAPHICS_H
#define __MEMORYMENAGERGRAPHICS_H
#include "MemoryMenager.h"

class MemoryMenagerGraphics : public MemoryMenager
{
public:
	int CommandsCount;
	MemoryMenagerGraphics(char * filename);
	~MemoryMenagerGraphics(void);

	void Initalize();
	void Finalize();
	void DrawFree(int x,int y)const;
	void DrawFull(int x,int y)const;
	void DrawSize(int x,int y,bool last)const;
	void DrawPointer(int x,int y)const;
	void DrawUnused(int x,int y) const;

	void DrawMemory();
	virtual void Draw();

	void UpdateXY(int &x,int &y);
	void DrawStatusBar(int ind);

};

#endif